using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace ReminderApp.ControlLibrary
{
    public partial class ucText : UserControl
    {
        public ucText()
        {
            InitializeComponent();

            ReminderAction ra = new ReminderAction();
            rtbText.Text = ra.GetShowedValue();
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            ReminderAction ra = new ReminderAction();
            ra.SaveShowedValue(rtbText.Text);
        }
    }
}
